<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- xkl.name  == xkl["name"] -->
    <!-- 引入的对象是属于Document-->
    <!-- Js的变量属于Windows ， window需要用到var 来定义对象才能找到对象【const、let等Es6不能找到对象】-->
    <div id="user"></div>
    <script src="./app.js"></script>
</body>
</html>